<%@include
    file="/WEB-INF/jsp/taglibs/taglibs_core.jsp"
%>
<stripes:layout-render name="/WEB-INF/jsp/layouts/menu.jsp" title="Login">

<stripes:layout-component name="js">
    <script src="${contextPath}/js/checkboxes-checked.js"></script>
</stripes:layout-component>

<stripes:layout-component name="body">
    <stripes:messages />

    <stripes:form name="userLogin" beanclass="com.objecteffects.template.web.action.UserLoginActionBean">
        <stripes:errors />

        <table class="form">
            <tbody>
                <tr>
                    <td>
                        <stripes:label
                            for="username"
                        />:
                    </td>
                    <td>
                        <stripes:text
                            name="username"
                        />
                    </td>
                </tr>
                <tr>
                    <td>
                        <stripes:label
                            for="password"
                        />:
                    </td>
                    <td>
                        <stripes:password
                            name="password"
                        />
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <stripes:checkbox
                            name="rememberMe"
                            class="checked"
                        />
                    </td>
                    <td>
                        Keep me logged in.
                    </td>
                <tr>
                    <td></td>
                    <td>
                        <stripes:submit
                            name="login"
                            value="Login"
                        />
                        <stripes:submit
                            name="cancel"
                            value="Cancel"
                        />
                    </td>
                </tr>
            </tbody>
        </table>

        <p>
            <stripes:link beanclass="com.objecteffects.template.web.action.UserRegisterActionBean">
                Register
            </stripes:link> to create an account.
        </p>
    </stripes:form>
</stripes:layout-component>
</stripes:layout-render>
